package com.qijian.common.utils;

import cn.hutool.core.util.NumberUtil;

public class NumberUtils extends NumberUtil {
    public static <T extends Comparable<T>> boolean isBetween(T value, T start, T end) {
        return value.compareTo(start) >= 0 && value.compareTo(end) <= 0;
    }
}
